class PartMemberInfo {
	String department
	String name
	String sexType = '女'
	String nation = '汉'
	String eduBackground
	Date birthday
	Date joinDate
	Date workDate
	String honor
	String post

	static constraints = {
		name(maxLength:10,blank:false)
		sexType(inList:['男','女'],blank:false)
		nation(maxLength:10,blank:false)
		eduBackground(maxLength:10,blank:false)
		post(maxLength:10,blank:false)
	}

	static optionals = ["honor"]
}
